package harvard.cscie160.hw7.project;
import java.rmi.Remote;
import java.rmi.RemoteException;

/**
 * SecurityInterface and SecurityImpl used jointly together
 * to get around inheritance limitations in Java.  As we need
 * to extend both Remote and UnicastRemoteObject an Interface is 
 * used to get around single inheritance.
 * @author M. Bret Blackford
 *
 */
public interface SecurityInterface extends Remote {

	public abstract boolean checkSecurityAccess(int accountNumber, OperationEnumType type)
			throws RemoteException;

	public abstract boolean checkPIN(int accountNumber, String PIN)
			throws RemoteException;

/*	public abstract boolean checkPIN(int accountNumber, int PIN)
			throws RemoteException;*/
}

